package com.zzw.bridge.common.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>项目名称: zzw-tech </p>
 * <p>包名称: com.zzw.mis.system.vo </p>
 * <p>描述: 角色 </p>
 * <p> 角色 </p>
 * <p>创建时间: 2022/11/15 11 </p>
 *
 * @author coco
 * @version v1.0
 */
@Data
@Schema(description = "角色")
public class SysRoleVO implements Serializable {
	private static final long serialVersionUID = 1L;

	@Schema(description = "id")
	private String id;

	@Schema(description = "角色名称")
	@NotBlank(message = "角色名称不能为空")
	private String name;

	@Schema(description = "备注")
	private String remark;

	@Schema(description = "数据范围  0：全部数据  1：本机构及子机构数据  2：本机构数据  3：本人数据  4：自定义数据")
	private Integer dataScope;

	@Schema(description = "菜单ID列表")
	private List<String> menuIdList;

	@Schema(description = "机构ID列表")
	private List<String> orgIdList;

	@Schema(description = "创建时间")
	private LocalDateTime createTime;
}
